import math
a = eval(input())
b = eval(input())
c = eval(input())
X = (-b + math.sqrt(b**2 - (4 * a * c))) / (2 * a)
print(f'{X:.2f}')